class AssertUtil:
    @classmethod
    def assert_login(cls, login_resp, status_code, success, code, message):
        # 普通断言
        assert status_code == login_resp.status_code
        assert success == login_resp.json().get("success")
        assert code == login_resp.json().get("code")
        assert message == login_resp.json().get("message")